package team.first.moviedb.entity;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
  * @Author:        HAPPY
  * @Project_name:  project
  * @Package_name:  team.first.moviedb.entity
  * @Date:          2021/10/8 11:22
  */
public class MovieWithActor implements Serializable {
    private Long id;

    private Integer movieId;

    private Integer actorId;

    private Integer status;

    private static final long serialVersionUID = 1L;

    public MovieWithActor(Long id, Integer movieId, Integer actorId, Integer status) {
        this.id = id;
        this.movieId = movieId;
        this.actorId = actorId;
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public MovieWithActor setId(Long id) {
        this.id = id;
        return this;
    }

    public Integer getMovieId() {
        return movieId;
    }

    public MovieWithActor setMovieId(Integer movieId) {
        this.movieId = movieId;
        return this;
    }

    public Integer getActorId() {
        return actorId;
    }

    public MovieWithActor setActorId(Integer actorId) {
        this.actorId = actorId;
        return this;
    }

    public Integer getStatus() {
        return status;
    }

    public MovieWithActor setStatus(Integer status) {
        this.status = status;
        return this;
    }
}